package com.ruoyi.keep.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 教练管理对象 teacher
 * 
 * @author xjl
 * @date 2024-08-13
 *
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Teacher extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 教练id */
    private Long id;

    /** 教练照片 */
    private String picture;

    /** 姓名 */
    @Excel(name = "姓名")
    private String tName;

    /** 性别 */
    @Excel(name = "性别")
    private Long sex;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    /** 签名 */
    private String single;

    /** 简介 */
    @Excel(name = "简介")
    private String tIntro;

    /** 场馆 */
    @Excel(name = "场馆")
    private Long venuesId;

    /** 状态 */
    @Excel(name = "状态")
    private Long status;

    /** 0正常，1删除 */
    private Long del;
    /*
    * 教练关联场馆一对1*/
    private FitnessGym fitnessGym;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPicture(String picture) 
    {
        this.picture = picture;
    }

    public String getPicture() 
    {
        return picture;
    }
    public void settName(String tName) 
    {
        this.tName = tName;
    }

    public String gettName() 
    {
        return tName;
    }
    public void setSex(Long sex) 
    {
        this.sex = sex;
    }

    public Long getSex() 
    {
        return sex;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setSingle(String single) 
    {
        this.single = single;
    }

    public String getSingle() 
    {
        return single;
    }
    public void settIntro(String tIntro) 
    {
        this.tIntro = tIntro;
    }

    public String gettIntro() 
    {
        return tIntro;
    }
    public void setVenuesId(Long venuesId) 
    {
        this.venuesId = venuesId;
    }

    public Long getVenuesId() 
    {
        return venuesId;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setDel(Long del) 
    {
        this.del = del;
    }

    public Long getDel() 
    {
        return del;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("picture", getPicture())
            .append("tName", gettName())
            .append("sex", getSex())
            .append("phone", getPhone())
            .append("single", getSingle())
            .append("tIntro", gettIntro())
            .append("venuesId", getVenuesId())
            .append("status", getStatus())
            .append("del", getDel())
            .toString();
    }
}
